#ifndef SUBJECTMODEL_H
#define SUBJECTMODEL_H

#include <QWidget>

class SubjectModel
{

public:
    SubjectModel();

private:
    QString code;
    QString name;
    qint32 techercount;
    QString intro;

public:
    QString getCode(){return code;}
    void setCode(QString code){this->code=code;}

    QString getName(){return name;}
    void setName(QString name){this->name=name;}

    qint32 getTecherCount(){return techercount;}
    void setTecherCount(qint32 techercount){this->techercount=techercount;}

    QString getIntro(){return this->intro;}
    void setIntro(QString intro){this->intro=intro;}
};

#endif // SUBJECTMODEL_H
